/**
 * Element contains the information about a single element of the periodic
 * table.  Element can be constructed by either Element() or Element(string,
 * string, int, double).  Provided our methods to get the Element name, symbol,
 * number, and weight.
 * 
 * @author (Jeff Thomas) 
 * @version (11.05.2007)
 * @course (CSC 131 - 1)
 * @assignment (PROG6)
 */

public class Element
{
    private String name;
    private String symbol;
    private int atomicNumber;
    private double atomicWeight;

    public Element() {
        name = "";
        symbol = "";
        atomicNumber = 0;
        atomicWeight = 0.0;
    }
    public Element(String eName, String sym, int num, double weight) {
        name = eName;
        symbol = sym;
        atomicNumber = num;
        atomicWeight = weight;
    }

    public String getName() {
        return name;
    }
    public String getSymbol() {
        return symbol;
    }
    public int getNumber() {
        return atomicNumber;
    }
    public double getWeight() {
        return atomicWeight;
    }
}
